﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WindowsFormsApplication14
{
    public partial class mainForm : Form
    {
        public mainForm()
        {
            InitializeComponent();
            Sort go = new Sort(); //переход к методу Read;
            go.Read();
        }

        
            private void examButton_Click(object sender, EventArgs e)
        {
            examForm examform = new examForm();
            examform.Show(); //открытие режима экзамена

            

        
        }

            private void endlessButton_Click(object sender, EventArgs e)
            {
                endlessForm endlessform = new endlessForm();
                endlessform.Show(); //открытие свободного режима
            }

            private void settingsButton_Click(object sender, EventArgs e)
            {
                settingsForm settingsform = new settingsForm();
                settingsform.Show(); //открытие настроек
            }

           

           
    }
}
